/*
 * 
 */
package be.ipl.daoimpl;

import java.util.List;

import javax.ejb.Stateless;

import be.ipl.dao.CaseDao;
import be.ipl.domaine.Case;
import be.ipl.domaine.Tableau;


/**
 * The Class CaseDaoImpl.
 */
@Stateless
public class CaseDaoImpl extends DaoImpl<Integer, Case> implements CaseDao{

	/* (non-Javadoc)
	 * @see be.ipl.dao.CaseDao#listerCase(be.ipl.domaine.Tableau)
	 */
	@Override
	public List<Case> listerCase(Tableau tableau) {
		return liste("Select c from Case c where c.tableau = ?1", tableau);
	}
}
